package com.System.pojo;

public class DisSupport {
    private int id;
    private String userName;
    private int commentId;
    private String barName;

    public DisSupport() {
    }

    @Override
    public String toString() {
        return "DisSupport{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", commentId=" + commentId +
                ", barName='" + barName + '\'' +
                '}';
    }

    public DisSupport(int id, String userName, int postId, String barName) {
        this.id = id;
        this.userName = userName;
        this.commentId = postId;
        this.barName = barName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getPostId() {
        return commentId;
    }

    public void setPostId(int postId) {
        this.commentId = postId;
    }

    public String getBarName() {
        return barName;
    }

    public void setBarName(String barName) {
        this.barName = barName;
    }

    public DisSupport(String userName, String barName, int commentId) {
        this.userName = userName;
        this.commentId = commentId;
        this.barName = barName;
    }
}
